<?php
if (Zend_Auth::getInstance()->hasIdentity()) {
    echo 'Info o prihlaseni: ';
    echo d(Zend_Auth::getInstance()->getIdentity());
    echo '<p><a href="./index/logout/">Odhlasit</a></p>';
    echo '<p><a href="./index/just-logged/">Tajne!</a></p>';
} else {
?>
<ul>
    <li><a href="<?=$this->url(array('action'=>'simple'))?>">Simple</a></li>
    <li><a href="<?=$this->url(array('action'=>'hash'))?>">Hash</a></li>
    <li><a href="<?=$this->url(array('action'=>'more'))?>">More</a></li>
</ul>

<?php } ?>